package com.sms.smscode.room;

import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

@Entity(tableName = "SmsEntity", indices = {@Index(value = {"sms_id"}, unique = true)})
//indices = {@Index(value = {"first_name", "last_name"},unique = true)}
public class SmsEntity {

    @PrimaryKey(autoGenerate = true)
    public int id;

    public String sms_id;
    public String address;
    public String body;
    public String code;
    public String date;
    public String msg;
    public int type;
    public int intPerson;
    public long add_time;

    public String ext1;
    public String ext2;
    public String ext3;
    public String ext4;

}
